package com.tanhua.db.api;

import com.tanhua.api.UsersApi;
import com.tanhua.db.mapper.UsersMapper;
import com.tanhua.model.pojo.User;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class UsersApiImpl implements UsersApi {


    @Autowired
    private UsersMapper usersMapper;

    @Override
    public void update(User user) {

         usersMapper.updateById(user);
    }
}
